import{p as e}from"./BsMqS_8I4FRuz8.js";import{D as t,E as n,On as r,_ as i,b as a,k as o,mt as s,o as c,qt as l,tr as u,v as d,y as f}from"./CIxmKYxc4tZcJF.js";import"./DcwiUW8R1GKRvl.js";import{t as p}from"./DhtdLMWurC5tl.js";import{t as m}from"./DJeJfhW-4iv1Az.js";import{s as h}from"./BbxvatETxeTHf.js";import{n as g,t as _}from"./EcGaKom4PJEv8.js";var v={key:0},y=o({__name:`app-settings-moneymoney`,setup(o){let y=h();return(o,h)=>(s(),a(c,null,[i(`h3`,null,u(o.$t(`settings.moneymoney.title`)),1),r(y)?(s(),d(r(m),{key:0,title:o.$t(`settings.moneymoney.syncActionTitle`)},{default:l(()=>[t(r(p),{onClick:r(g)},{default:l(()=>[n(u(o.$t(`settings.moneymoney.syncNow`)),1)]),_:1},8,[`onClick`]),r(e).mmLastSync?(s(),a(`p`,v,u(o.$t(`settings.moneymoney.lastSync`,[new Date(r(e).mmLastSync).toLocaleString()])),1)):f(``,!0)]),_:1},8,[`title`])):f(``,!0),r(e)?.mmAccounts?(s(),d(r(m),{key:1,title:o.$t(`settings.moneymoney.syncAccounts`)},{default:l(()=>[t(_,{config:r(e)},null,8,[`config`])]),_:1},8,[`title`])):f(``,!0)],64))}});export{y as default};